package com.ruoyi.reportsnhnt.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import com.ruoyi.report_tg.domain.bo.ExcelGeneralBo;
import com.ruoyi.reportsnhnt.domain.ReportSnhntKsxsyBaDetail;
import com.ruoyi.reportsnhnt.domain.ReportSnhntKsxsysjBaDetail;
import com.ruoyi.reportsnhnt.domain.vo.ReportSnhntKsxsyBaDetailVo;
import com.ruoyi.reportsnhnt.domain.vo.ReportSnhntKsxsysjBaDetailVo;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 水泥混凝土抗渗性试验检测记录业务对象 report_snhnt_ksxsy_bs_info
 *
 * @author zxs
 * @date 2024-06-21
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ReportSnhntKsxsyBsInfoBo extends ExcelGeneralBo {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long excelId;

    /**
     * 第几页
     */
    @NotNull(message = "第几页不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long page;

    /**
     * 共几页
     */
    @NotNull(message = "共几页不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long totalPage;

    /**
     * 检测单位名称
     */
    @NotBlank(message = "检测单位名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String jiancdwmc;

    /**
     * 记录编号
     */
    @NotBlank(message = "记录编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String jilbh;

    /**
     * 工程名称
     */
    @NotBlank(message = "工程名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String gongcmc;

    /**
     * 工程部位/用途
     */
    @NotBlank(message = "工程部位/用途不能为空", groups = { AddGroup.class, EditGroup.class })
    private String gongcbwyt;

    /**
     * 样品信息
     */
    @NotBlank(message = "样品信息不能为空", groups = { AddGroup.class, EditGroup.class })
    private String yangpxx;

    /**
     * 样品名称
     */
    @NotBlank(message = "样品名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String yangpmc;

    /**
     * 样品编号
     */
    @NotBlank(message = "样品编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String yangpbh;

    /**
     * 样品数量
     */
    @NotBlank(message = "样品数量不能为空", groups = { AddGroup.class, EditGroup.class })
    private String yangpsl;

    /**
     * 样品状态
     */
    @NotBlank(message = "样品状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private String yangpzt;

    /**
     * 来样时间
     */
    @NotNull(message = "来样时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date laiysj;

    /**
     * 试验检测日期
     */
    @NotNull(message = "试验检测日期不能为空", groups = { AddGroup.class, EditGroup.class })
    private String shiyjcrq;

    /**
     * 试验条件
     */
    @NotBlank(message = "试验条件不能为空", groups = { AddGroup.class, EditGroup.class })
    private String shiytj;

    /**
     * 温度
     */
    @NotBlank(message = "温度不能为空", groups = { AddGroup.class, EditGroup.class })
    private String wend;

    /**
     * 相对湿度
     */
    @NotBlank(message = "相对湿度不能为空", groups = { AddGroup.class, EditGroup.class })
    private String xiangdsd;

    /**
     * 检测依据
     */
    @NotBlank(message = "检测依据不能为空", groups = { AddGroup.class, EditGroup.class })
    private String jiancyj;

    /**
     * 判定依据
     */
    @NotBlank(message = "判定依据不能为空", groups = { AddGroup.class, EditGroup.class })
    private String pandyj;

    /**
     * 主要仪器设备名称及编号
     */
    @NotBlank(message = "主要仪器设备名称及编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String zhuyyqsbmcjbh;

    /**
     * 设备id(逗号隔开)
     */
    @NotBlank(message = "设备id(逗号隔开)不能为空", groups = { AddGroup.class, EditGroup.class })
    private String shebIds;

    /**
     * 混凝土配合比
     */
    @NotBlank(message = "混凝土配合比不能为空", groups = { AddGroup.class, EditGroup.class })
    private String hunntphb;

    /**
     * 设计抗渗等级
     */
    @NotBlank(message = "设计抗渗等级不能为空", groups = { AddGroup.class, EditGroup.class })
    private String shejksdj;

    /**
     * 混凝土设计强度等级
     */
    @NotBlank(message = "混凝土设计强度等级不能为空", groups = { AddGroup.class, EditGroup.class })
    private String hunntsjqddj;

    /**
     * 成型日期
     */
    @NotNull(message = "成型日期不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date chengxrq;

    /**
     * 龄期（d）
     */
    @NotBlank(message = "龄期（d）不能为空", groups = { AddGroup.class, EditGroup.class })
    private String lingq;

    /**
     * 混凝土种类
     */
    @NotBlank(message = "混凝土种类不能为空", groups = { AddGroup.class, EditGroup.class })
    private String hunntzl;

    /**
     * 养护条件
     */
    @NotBlank(message = "养护条件不能为空", groups = { AddGroup.class, EditGroup.class })
    private String yanghtj;

    /**
     * 检测停止时的水压（MPa）
     */
    @NotBlank(message = "检测停止时的水压（MPa）不能为空", groups = { AddGroup.class, EditGroup.class })
    private String jianctzsdsy;

    /**
     * 检测停止时渗水试件的个数
     */
    @NotNull(message = "检测停止时渗水试件的个数不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long jianctzssssjdgs;

    /**
     * 实测抗渗等级
     */
    @NotBlank(message = "实测抗渗等级不能为空", groups = { AddGroup.class, EditGroup.class })
    private String shicksdj;

    /**
     * 附加声明
     */
    @NotBlank(message = "附加声明不能为空", groups = { AddGroup.class, EditGroup.class })
    private String fujsm;

    /**
     * 检测
     */
    @NotBlank(message = "检测不能为空", groups = { AddGroup.class, EditGroup.class })
    private String jianc;

    /**
     * 记录
     */
    @NotBlank(message = "记录不能为空", groups = { AddGroup.class, EditGroup.class })
    private String jil;

    /**
     * 复核
     */
    @NotBlank(message = "复核不能为空", groups = { AddGroup.class, EditGroup.class })
    private String fuh;
    //试件尺寸
    private String shijcc;

    /**
     * 日期
     */
    @NotNull(message = "日期不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date riq;

    /**
     * 含水率平均值
     */
    @NotNull(message = "含水率平均值不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal hanslpjz;

    //试件子表
    private List<ReportSnhntKsxsysjBaDetail> sjVos;

    private List<ReportSnhntKsxsyBaDetail> detailVos;

}
